When an implcit grab is going on, we don't need to consider other
widgets for motion (etc.) events.
case GDK_TOUCH_BEGIN:
case GDK_TOUCH_UPDATE:
case GDK_MOTION_NOTIFY:
- target = gtk_widget_pick (toplevel_widget, x, y);
- if (target == NULL)
+ target = gtk_window_lookup_pointer_focus_implicit_grab (toplevel, device, sequence);
+
+ if (!target)
+ target = gtk_widget_pick (toplevel_widget, x, y);
+
+ if (!target)
target = toplevel_widget;
+
old_target = update_pointer_focus_state (toplevel, event, target);
if (event->any.type == GDK_MOTION_NOTIFY || event->any.type == GDK_ENTER_NOTIFY)